All Categories :
C/C++
vclxd.htm
- D -
Visual C++ Command Reference
Here are the primary Visual C++ keywords. You can't give functions or variables the same names as any of these keywords.
The following are keywords in Microsoft C and C++. Names with leading underscores are Microsoft extensions. You can't use any C keywords in a C++ program.
C Language Keywords:
|
__asm
|
__fastcall
|
__self
|
|
auto
|
float
|
__segment
|
|
__based
|
for
|
__segname
|
|
break
|
__fortran
|
short
|
|
case
|
goto
|
signed
|
|
__cdecl
|
__huge
|
sizeof
|
|
char
|
if
|
static
|
|
const
|
__inline
|
struct
|
|
continue
|
int
|
switch
|
|
default
|
__interrupt
|
typedef
|
|
do
|
__loadds
|
union
|
|
double
|
long
|
unsigned
|
|
else
|
__near
|
void
|
|
enum
|
__pascal
|
volatile
|
|
__export
|
register
|
while
|
|
extern
|
return
|
|
|
__far
|
__saveregs
|
|
C++ Language Keywords:
|
..catch
|
operator
|
try
|
|
class
|
private
|
virtual
|
|
delete
|
protected
|
__multiple_inheritance
|
|
friend
|
public
|
__single_inheritance
|
|
inline
|
this
|
__virtual_inheritance
|
|
new
|
throw
|
|
The following are not keywords, but they have special meaning in Microsoft C++:
|
argc
|
envp
|
_setenvp
|
|
argv
|
main
|
_set_new_handler
|
|
__emit
|
_setargv
|
|
The catch, template, throw, and try keywords are reserved for future versions of C++.

Contact
reference@earthweb.com with questions or comments.
Copyright 1998
EarthWeb Inc., All rights reserved.
PLEASE READ THE ACCEPTABLE USAGE STATEMENT.
Copyright 1998 Macmillan Computer Publishing. All rights reserved.